package com.ff.xyh;

import com.ff.xyh.common.servicebase.config.MybatisPlusConfig;
import com.ff.xyh.common.servicebase.config.RedisConfig;
import com.ff.xyh.common.servicebase.handler.MyMetaObjectHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * @Auther FF
 * @Date 2022年 10月 31日
 * @Time 02:31
 */
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication(exclude = {
        SecurityAutoConfiguration.class,
        DataSourceAutoConfiguration.class
})
// 启动时排除一些配置类
@ComponentScan(excludeFilters = @ComponentScan.Filter(
        type = FilterType.ASSIGNABLE_TYPE,
        classes = {
                MybatisPlusConfig.class
        }))
public class Consumer_8001_MessageDeliverApplication {
    public static void main(String[] args) {
        SpringApplication.run(Consumer_8001_MessageDeliverApplication.class, args);
    }

}
